﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Admin_jiaju.Core.Models
{
    //新闻  
    public class News
    {
        [Required]
        public int Id { get; set; }
        public string Title { get; set; }
        public DateTime? Time { get; set; }
        public string Cont { get; set; }
        public int NewsTypeId { get; set; }
        public string HomeFlag { get; set; }
        public string YearMonth { get; set; } //年月
        public int? Day { get; set; }//天
        public virtual NewsType NewsType { get; set; }
    }
}